L

LuckOake

Marquês
Total items
1.1k
Registered on
Julho 22, 2012
Last visit
Março 1
Days won
20
reputation
+400

Recent activity

L
Jungle Maw Prison

topic replied by LuckOake in Scripts

Não adianta usar mayNotMove em monstros, não vai funcionar. Use doChangeSpeed(cid, -getCreatureSpeed(cid)). Tá aqui o script: local tempo = 30 -- Tempo em segundos function onStepIn(cid, item, pos) if

16 de nov. de 201316 replies
L
Script setar Cordenada do account amanager

topic replied by LuckOake in Scripts

Realmente esqueci de verificar se é o Account Manager. Obrigado por corrigir. Mas acho melhor colocar a verificação no próprio login.lua: if getCreatureName(cid) == "Account Manager" then registerCrea

16 de nov. de 20138 replies
L
Script setar Cordenada do account amanager

topic replied by LuckOake in Scripts

Script (Pasta creaturescripts) accmanagerpos.lua: local pos = {x = 100, y = 60, z = 7} -- Posição function onLogout(cid) doTeleportThing(cid, pos) return true end Login.lua, antes do último return tru

16 de nov. de 20138 replies
L
Luck Oake's Debugger 3.0 (LOD)

posted a topic in the forum by LuckOake in Archived

Olá galera. Um tempo atrás, para ajudar um amigo, fiz um debugger que permite usar algumas funções de Tibia de maneira mais "real", pois eu estava ensinando Lua para ele, e ele estava com dificuldades

02 de nov. de 20135 replies
L
Como criar um item que da skill

topic replied by LuckOake in Scripts

Usar condition não resolve, quando o player fizer logout vai sair. O mais certo é usar doPlayerAddMagLevel(cid, amount) ou pela database mesmo, fazendo logout no player e modificando.

27 de out. de 201352 replies
L
Onde esta o erro neste script? (checar description)

topic replied by LuckOake in Scripts

Corrigido: function onStepIn(cid, item, position, fromPosition) local player_item = getPlayerItemById(cid, true, 1678) if player_item.uid > 0 then if getItemAttribute(player_item.uid, "description") t

27 de out. de 201311 replies
L
Onde esta o erro neste script? (checar description)

topic replied by LuckOake in Scripts

Tó: function onStepIn(cid, item, position, fromPosition) local player_item = getPlayerItemById(cid, true, 1678) if player_item.uid > 0 and getItemAttribute(player_item.uid, "description") then doPlaye

27 de out. de 201311 replies
L
Fábrica de Scripts

posted a topic in the forum by LuckOake in Scripts

Olá galera. Tava aqui de boa sem o que fazer, aí tive essa ideia de fazer um tópico pros membros pedirem scripts simples. Regrinhas: NÃO PEÇA EVENTOS AQUI, SÓ SCRIPTS OU SISTEMAS SIMPLES; NÃO PEÇA SCR

28 de set. de 2013165 replies
L
Auto Loot Money

posted a topic in the forum by LuckOake in Mods, funções e outros

Vi que muitos voltaram, principalmente meu mestre Oneshot, então voltei também. Não sei se voltei pra ficar ativo, mas de qualquer maneira, vou quebrar o gelo e postar um sistema depois de mais de um

21 de set. de 20137 replies